package com.atguigu.controller;

import com.atguigu.pojo.SystemUser;
import com.atguigu.service.SystemUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

public class SystemUserControllerImpl implements SystemUserController{

    @Autowired

    private SystemUserService systemUserService;
@GetMapping("/findAll")
    public List<SystemUser> FindAll(){
        return systemUserService.findAll();
    }
}
